<template>
  <div class="home_two">
    <div class="titlea">
      <p>
          个人资料
      </p>
      <p>
          <span>账号</span>{{user.account}}
      </p>
      <p>
          <span>剩余额度</span>{{user.balance}}
      </p>
      <p>
          <span>状态</span>{{user.statusName}}
      </p> 
    </div>
    <PersonList></PersonList>

   
  </div>
</template>

<script>
import PersonList from '../components/personList'
export default {
  name: "homeOne",
  data() {
    return {
      startTime: "",
      endTime: ""
    };
  },
  components:{
    PersonList
  },
   computed: {
    user() {
      return JSON.parse(this.$store.state.userMsg);
    }
  },
};
</script>
<style lang="less" scoped>
// 历史账单
.home_two {
  width: 100%;
  .titlea {
    margin: 30px 10px;
    p {
        background: #eee;
        color: #000;
        line-height: 30px;
        padding-left: 20px;
        font-weight: 700;
    }
    span {
      padding: 0px 10px;
    }
  }
}
</style>
